{if condition="($user.islook == 1) OR ($ismy == 1) "}
<p class="tab-nav" id="cat">
    <a href="/index/user/index/ids/{$ids}/act/index.html#cat">
        <img src="__CDN__/assets/img/index/arti{eq name='action' value='index'}2{/eq}.png">已发文章</a>
    <a href="/index/user/index/ids/{$ids}/act/digitalslides.html#cat">
        <img src="__CDN__/assets/img/index/qiepian{eq name='action' value='digitalslides'}2{/eq}.png">数字切片</a>
    <a href="/index/user/index/ids/{$ids}/act/bbscontent.html#cat">
        <img src="__CDN__/assets/img/index/fatie{eq name='action' value='bbscontent'}2{/eq}.png">发帖</a>
    <a href="/index/user/index/ids/{$ids}/act/bbsreply.html#cat">
        <img src="__CDN__/assets/img/index/huifu{eq name='action' value='bbsreply'}2{/eq}.png">回复</a>
</p>
<div class="tiezi-article">
    {switch name="action" }
    {case value="index" break="1"}
    {foreach name="list" item="vo"}
    <div class="tiezi-article-list">
        <a href="/index/user/detailArticle/ids/{$vo.id}.html">{$vo.title}</a><span>{$vo.updatetime|date='Y-m-d',###}</span>
    </div>
    {/foreach}
    {/case}
    {case value="bbscontent"}
    <div class="tiezi-artycle">
        {foreach name="list" item="vo"}
        <div class="tiezi-list">
            {switch name="vo.tag"}
            {case value="3" break="1"}<span class="biaoji blue">置顶</span>{/case}
            {case value="2" break="1"}<span class="biaoji jinghua">精华</span>{/case}
            {default /}<span class="biaoji putong">普通</span>
            {/switch}
            <a href="/index/bbs/detail/ids/{$vo.id}.html" class="tiezi-title">{$vo.title}</a>
            <p class="fatie-riqi"><span>{$vo.users.username}</span><span>{$vo.createtime|date="Y-m-d",###}</span></p>
            <p class="fatie-num"><span>{$vo.reply_sum}</span><span>{$vo.hits}</span></p>
            <p class="fatie-time">
                {notempty name="vo.reply.users.username"}
                <span>{$vo.reply.users.username}</span><span>{$vo.reply.createtime|date="Y-m-d",###}</span>
                {else /}
                无
                {/notempty}
            </p>
        </div>
        {/foreach}
    </div>
    {/case}
    {case value="bbsreply"}
    <div class="tiezi-artycle">
        {foreach name="list" item="vo"}
        <div class="tiezi-reply">
            <div class="tiezi-reply-list">
                <div class="reply-list-top">
                    <p>>来自<a class="bankuai">{$vo.subject.models.title}</a></p>
                    <p class="reply-title"><a href="/index/bbs/detail/ids/{$vo.subject.id}.html">{$vo.subject.title}</a></p>
                    <p class="source"><span>{$vo.subject.users.username}</span><span>发布于：{$vo.subject.createtime|date="Y-m-d H:i:s",###}</span></p>
                </div>
                <div class="reply-list-down">
                    <p class="reply-desc">{$vo.content}<a href="/index/bbs/detail/ids/{$vo.subject.id}.html" class="xiangqing">查看详情>></a></p>
                </div>
            </div>
        </div>
        {/foreach}
    </div>
    {/case}
    {case value="digitalslides"}
    <div class="tiezi-artycle">
        {foreach name="list" item="vo"}
        <div class="tiezi-article-list">
            <a href="/index/user/detailDigitalslides/ids/{$vo.id}.html">{$vo.title}</a><span>2018-06-26</span>
        </div>
        {/foreach}
    </div>
    {/case}
    {default /}默认情况
    {/switch}

   

</div>
 {$pages}
{elseif condition="$ismy eq 0"/}
<div class="tiezi-artycle">
    <div style="width: 100%">
        <p style="font-size: 24px;color: #bfbfbf;text-align:center;padding-top: 150px;padding-bottom: 125px;"><img src="__CDN__/assets/img/index/sad.png" style="margin-right: 20px;" />该用户未开放专属农庄</p>
    </div>
</div>
{else /} value3
{/if}
